<!doctype html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <title>请假申请</title>
  <meta name="renderer" content="webkit|ie-comp|ie-stand">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
  <meta http-equiv="Cache-Control" content="no-siteapp" />


</head>

<body>

  <input type="text" class="layui-input" id="test2" placeholder="选择日期">

  <input type="text" class="layui-input" id="test3" placeholder="选择日期">


  <script type="text/javascript" src="./js/jquery-3.2.1.min.js"></script>
  <script src="./lib/layui/layui.js" charset="utf-8"></script>

  <script>
    layui.use('laydate', function() {
      var laydate = layui.laydate;

      //执行一个laydate实例
      laydate.render({
        elem: '#test2'
      });


      //执行一个laydate实例
      laydate.render({
        elem: '#test3'
      });

    });
  </script>

</body>

</html>
